package com.guofen.service.sjq;

import com.guofen.pojo.SjqCompostProduceInspection;
import com.guofen.pojo.SjqCompostProduceMaintenanceDay;


import java.util.List;
import java.util.Map;

public interface SjqCompostProduceMaintenanceDayService {
    public boolean add_operator(String equipmentName,String maintenanceContent,String isNormal,String operator,String remarks);

    public boolean add_inspector(String id,String inspector,String remarks);

    public SjqCompostProduceMaintenanceDay getlast(String equipmentName,String maintenanceContent);

    public List<SjqCompostProduceMaintenanceDay> getlastByName(String equipmentName);

    List<Integer> is_last_complete(String equipmentsName, String menstanceNum, String role);

    public int getInToday();

    public List<SjqCompostProduceMaintenanceDay> getDailyRecords();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqCompostProduceMaintenanceDay record);
}
